package ai.zixing.dao.impl;

import ai.zixing.dao.CourseDao;
import lombok.Getter;
import lombok.Setter;

@Getter
public class CourseDaoImpl implements CourseDao {

    // value 注入
    @Setter
    private String courseName;
    public CourseDaoImpl() {
        System.out.println("CourseDaoImpl 创建了........................");
    }

    @Override
    public void add() {
        System.out.println("CourseDaoImpl 执行了........................, " + courseName);
    }
}
